#ifndef __UTIL_H
#define __UTIL_H

typedef unsigned char byte;

// Convert binary coded decimal to normal decimal numbers (RTC)
//byte bcdToDec(byte val);
// Convert normal decimal numbers to binary coded decimal (RTC)
//byte decToBcd(byte val);

void reset_terminal_mode();
void set_conio_terminal_mode();
int kbhit();
int getch();



#endif
